from django.db import models

# Create your models here.
class UserModel(models.Model):
    id = models.AutoField(primary_key=True)
    name = models.CharField(max_length=16,verbose_name='用户名',null=True,blank=True)
    account = models.CharField(max_length=32,verbose_name='账户',unique=True)
    password = models.CharField(max_length=256,verbose_name='密码')
    phone = models.CharField(max_length=16,verbose_name='手机号',null=True,blank=True)
    class Meta:
        db_table = 'user'
